package com.workplan.client.widgets.createemployee;

import net.customware.gwt.presenter.client.widget.WidgetDisplay;

import com.general.client.action.ActionHandler;
import com.general.client.basewidget.BasePresnter;
import com.general.client.widgets.combobox.Combobox;
import com.general.client.widgets.textbox.TextBox;
import com.google.gwt.event.shared.HandlerRegistration;
import com.workplan.shared.datamodel.employee.EmployeeDataModel.Role;

public interface CreateEmployeePresenter extends BasePresnter {

	public interface Display extends WidgetDisplay {
		TextBox getFirstName();

		TextBox getLastName();

		TextBox getPhoneNumber();

		TextBox getEmail();

		Combobox<Integer> getMinShifts();

		Combobox<Integer> getMaxShifts();

		Combobox<Role> getRole();

		HandlerRegistration addAddActionHandler(ActionHandler handler);

		boolean isValid();

		void clear();

	}

}
